package com.itaq.cheetah.serviceA.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author cheetah
 * @date 2022/7/21
 */
@Data
@ApiModel
public class SsoUserInfo {

    /**
     * 用户帐号
     */
    @NotEmpty
    @ApiModelProperty(value = "用户帐号", required = true, example = "张三")
    private String userName;

    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "用户昵称", example = "狂盗一枝梅")
    private String userNickName;

    /**
     * 用户手机号码
     */
    @ApiModelProperty(value = "用户手机号码", required = true, example = "13245678912")
    @NotEmpty
    private String phone;

    /**
     * 用户真实姓名
     */
    @ApiModelProperty(value = "用户真实姓名", example = "张三")
    private String idName;

    /**
     * 用户身份证号
     */
    @ApiModelProperty(value = "用户身份证号", example = "37132219920512451X")
    private String idNumber;

    /**
     * 用户来源
     */
    @ApiModelProperty(value = "用户来源")
    private String source;

    /**
     * 关联的企业信息
     */
    @ApiModelProperty("关联的企业信息")
    private List<SsoCompanyInfo> companyInfos;


}
